package com.whminwei.edu.api.student.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
public class StuSimpleInfoListFspn {

    @JsonValue
    private List<StuSimpleInfoListFspn.StudentBo> studentList;

    @JsonCreator
    public StuSimpleInfoListFspn(List<StuSimpleInfoListFspn.StudentBo> studentList) {
        this.studentList = studentList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class StudentBo {
        /**
         * 学生id
         */
        private String studentId;
        /**
         * 身份证号
         */
        private String idNumber;
        /**
         * 学号
         */
        private String studentNo;
        /**
         * 学生姓名
         */
        private String studentName;
        /**
         * 所在班级
         */
        private String classeId;
        /**
         * 所在班级
         */
        private String classeName;
    }
}
